package com.hnevc.gui;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class JFrameDemo extends JFrame {
	public JFrameDemo() {
		this.setTitle("标题");
		this.setSize(400, 400);
		this.setLocation(200, 200);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);		
		this.setVisible(true);
	}
	public static void main(String[] args) {
		JFrame frame = new JFrameDemo();	
	}
}
